<form name="frmEditSeries" id="frmEditSeries" method="post" action="" enctype="application/x-www-form-urlencoded">
    <table class="tblSeDetail">
        <tr>
            <th><label for="txtCName">节目中文名:</label></th>
            <td>
                <input type="text" name="txtCName" id="txtCName" value="<?php echo $arrData['arrViewState']['frmEditSeries']['txtCName']; ?>" />
                <?php if(in_array('Err_Logic_CName_LengthErr',$arrData['arrErrInfo'])){ ?><span class="warning">中文节目名长度不能为空或超过50个字</span><?php } ?>
            </td>
        </tr>
        <tr>
            <th><label for="txtEName">节目英文名:</label></th>
            <td>
                <input type="text" name="txtEName" id="txtEName" value="<?php echo $arrData['arrViewState']['frmEditSeries']['txtEName']; ?>" />
                <?php if(in_array('Err_Logic_EName_LengthErr',$arrData['arrErrInfo'])){ ?><span class="warning">英文节目名长度不能为空或者超过255个字母</span><?php } ?>
            </td>
        </tr>
        <tr>
            <th><label for="dropClass">种类:</label></th>
            <td>
                <select name="dropClass" id="dropClass">
                    <option value="0">请选择</option>
                    <?php foreach($arrData['arrClassList'] as $arrClass){ ?>
                    <option value="<?php echo $arrClass['CLASSID']; ?>"<?php if($arrData['arrViewState']['frmEditSeries']['dropClass']==$arrClass['CLASSID']){ ?> selected="selected"<?php } ?>><?php echo $arrClass['CNAME']; ?></option>
                    <?php } ?>
                </select>
                <?php if(in_array('Err_Logic_ClassID_NoValue',$arrData['arrErrInfo'])){ ?><span class="warning">请选择种类</span><?php } ?>
            </td>
        </tr>
        <tr>
            <th><label for="dropType">类别:</label></th>
            <td>
                <select name="dropType" id="dropType">
                    <option value="0">请选择</option>
                    <?php foreach($arrData['arrTypeList'] as $arrType){ ?>
                    <option value="<?php echo $arrType['TYPEID']; ?>"<?php if($arrData['arrViewState']['frmEditSeries']['dropType']==$arrType['TYPEID']){ ?> selected="selected"<?php } ?>><?php echo $arrType['CNAME']; ?></option>
                    <?php } ?>
                </select>
                <?php if(in_array('Err_Logic_TypeID_NoValue',$arrData['arrErrInfo'])){ ?><span class="warning">请选择分类</span><?php } ?>    
            </td>
        </tr>
        <tr>
            <th><label for="dropRatio">分辨率:</label></th>
            <td>
                <select name="dropRatio" id="dropRatio">
                    <option value="0">请选择</option>
                    <?php foreach($arrData['arrRatioList'] as $arrRatio){ ?>
                    <option value="<?php echo $arrRatio['RATIOID']; ?>"<?php if($arrData['arrViewState']['frmEditSeries']['dropRatio']==$arrRatio['RATIOID']){ ?> selected="selected"<?php } ?>><?php echo $arrRatio['CNAME']; ?></option>
                    <?php } ?>
                </select>
                <?php if(in_array('Err_Logic_RatioID_NoValue',$arrData['arrErrInfo'])){ ?><span class="warning">请选择分辨率</span><?php } ?>
            </td>
        </tr>
        <tr>
            <th><label for="chkSaw">看过:</label></th>
            <td><input name="chkSaw" type="checkbox" id="chkSaw" value="1"<?php if(1==$arrData['arrViewState']['frmEditSeries']['chkSaw']){ ?> checked="checked"<?php } ?> /></td>
        </tr>
        <tr>
            <td>
                <input type="hidden" name="hidAction" id="hidAction" value="<?php echo $arrData['arrViewState']['frmEditSeries']['hidAction']; ?>" />
                <input type="hidden" name="hidViewState" id="hidViewState" value="<?php echo $arrData['arrViewState']['frmEditSeries']['hidViewState']; ?>" />
                <input type="hidden" name="hidFormID" id="hidFormID" value="frmEditSeries" />
            </td>
            <td>
                <input type="submit" id="btnSubmit" value="提交" />
            </td>
        </tr>
    </table>
</form>